﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;

namespace GW2LastOnline
{
    public class Session
    {
        public Session()
        {
            this.Cookies = new CookieCollection();
        }

        public CookieCollection Cookies
        {
            get;
            set;
        }

        public bool IsValid()
        {
            return this.Cookies["s"] != null;
        }

        public void Invalidate()
        {
            this.Cookies = new CookieCollection();
        }
    }
}
